package net.bwie.jtp.jtprealtimeservice.service;

import net.bwie.jtp.jtprealtimeservice.bean.TrafficSessionReport;
import net.bwie.jtp.jtprealtimeservice.bean.TrafficUvReport;
import net.bwie.jtp.jtprealtimeservice.mapper.TrafficMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TrafficChannelStatsServiceImpl implements TrafficChannelStatsService{
    @Autowired
    TrafficMapper trafficMapper;
    @Override
    public List<TrafficUvReport> getUvCount(String date) {
        return trafficMapper.getUvCount(date);
    }

    @Override
    public List<TrafficSessionReport> getSessionCount(String date) {
        return trafficMapper.getSessionCount(date);
    }
}
